---
title: 'OpenRouter SDK'
description: 'Connect multiple AI models through OpenRouter to your AgentRPC tools'
icon: 'router'
---

import NodeClude from '/snippets/node-openai-completions-openrouter.mdx';
import PythonClaude from '/snippets/python-openai-completions-openrouter.mdx';

OpenRouter provides an OpenAI-compatible API for tool calling across multiple AI models and providers.

This allows you to use the same code to interact with different models that support function calling.

## TypeScript

<NodeClude />

## Python

<PythonClaude />
